<?php

/**
 * dbSize
 *
 * @author 
 * @version
 */

require_once 'Zend/Db/Table/Abstract.php';

class dbSize extends Zend_Db_Table_Abstract
{
	/**
	 * The default table name
	 */
	protected $_name = 'size';
 	
	/**
	 * The primary key 
	 */
	protected $_primary = 'id';
	
  	/**
  	 * get all sizes
  	 */
  	public function getAllSizes() 
  	{
  	    $query = $this->select()->from('size');
		
  	    $sizes = $this->fetchAll($query);  
  	    return $sizes;
  	}
  	
}